<template>
  <div class="app-notFound">
    <a @click="goHome">回到首页</a>
  </div>
</template>

<script>
export default {
  name: "notFound",
  data() {
    return {};
  },
  methods: {
    goHome() {
      this.$router.push("/home/index");
    }
  }
};
</script>

<style lang="scss" scoped>
.app-notFound {
  width: 100%;
  height: 100%;
  text-align: center;
  img {
    margin-top: 1.5rem;
  }
  a {
    display: block;
    width: 0.8rem;
    margin: 0.2rem auto;
    padding: 0.1rem 0.2rem;
    color: #1989fa;
    border: 1px solid #1989fa;
    border-radius: 5px;
    cursor: pointer;
  }
}
</style>
